package com.kingdee.eas.custom.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class CommonFacadeFactory
{
    private CommonFacadeFactory()
    {
    }
    public static com.kingdee.eas.custom.basedata.ICommonFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.basedata.ICommonFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("99AEB6A0") ,com.kingdee.eas.custom.basedata.ICommonFacade.class);
    }
    
    public static com.kingdee.eas.custom.basedata.ICommonFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.basedata.ICommonFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("99AEB6A0") ,com.kingdee.eas.custom.basedata.ICommonFacade.class, objectCtx);
    }
    public static com.kingdee.eas.custom.basedata.ICommonFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.basedata.ICommonFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("99AEB6A0"));
    }
    public static com.kingdee.eas.custom.basedata.ICommonFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.basedata.ICommonFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("99AEB6A0"));
    }
}